package com.example.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 办公用品类型对象 office_type
 * 
 * @author whj
 * @date 2024-09-20
 */
public class OfficeType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 办公用品类型编号 */
    @Excel(name = "办公用品类型编号")
    private Long officeTypeId;

    /** 办公用品类型 */
    @Excel(name = "办公用品类型")
    private String officeTypeName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOfficeTypeId(Long officeTypeId) 
    {
        this.officeTypeId = officeTypeId;
    }

    public Long getOfficeTypeId() 
    {
        return officeTypeId;
    }
    public void setOfficeTypeName(String officeTypeName) 
    {
        this.officeTypeName = officeTypeName;
    }

    public String getOfficeTypeName() 
    {
        return officeTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("officeTypeId", getOfficeTypeId())
            .append("officeTypeName", getOfficeTypeName())
            .toString();
    }
}
